<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<title></title>
<link href='/pintuan/Public/Member/css/global.css' rel='stylesheet' type='text/css' />
<link href='/pintuan/Public/Member/css/main.css' rel='stylesheet' type='text/css' />

<script type='text/javascript' src='/pintuan/Public/Member/js/jquery-1.7.2.min.js'></script>
<script type='text/javascript' src='/pintuan/Public/Member/js/global.js'></script>
<link href='/pintuan/Public/Member/css/wechat.css' rel='stylesheet' type='text/css' />
<!--[if lte IE 9]><script src="__PUBIC__/Member/js/jquery.watermark-1.3.js"></script><![endif]-->
<script type='text/javascript' src='/pintuan/Public/Member/js/wechat.js'></script>
<script type='text/javascript'>
var web_domain='/pintuan';
var static_domain='/pintuan';
var img_domain='/pintuan';
var _PUBLIC_ = '/pintuan/Public';
var _FILE_ = '<?php echo U('Index/ajaxFileUpload');?>';
var domain={
        www:'<?php echo C('WEB_ABSOLUTE_URL');?>',
        static:'<?php echo C('WEB_ABSOLUTE_URL');?>',
        img:'<?php echo C('WEB_ABSOLUTE_URL');?>',
        file:'<?php echo C('WEB_ABSOLUTE_URL');?>',
        kf:'<?php echo C('WEB_ABSOLUTE_URL');?>'
};
</script>

</head>

<body>
	
	
	<div id="iframe_page">
		<div class="iframe_content">
			<div class="r_nav">
				<ul>
					<li class="<?php if((ACTION_NAME) == "index"): ?>cur<?php endif; ?>"><a href="<?php echo U('Wechat/index');?>">首次关注设置</a></li>
					<li class="<?php if((ACTION_NAME) == "classify"): ?>cur<?php endif; ?>"><a href="<?php echo U('Wechat/classify');?>">自定义菜单设置</a></li>
					<li class="<?php if((ACTION_NAME) == "keyword"): ?>cur<?php endif; ?>"><a href="<?php echo U('Wechat/keyword');?>">关键词回复</a></li>
					<li class="<?php if((ACTION_NAME) == "token"): ?>cur<?php endif; ?>"><a href="<?php echo U('Wechat/token');?>">微信接口配置</a></li>
					<li class="<?php if((ACTION_NAME) == "auth"): ?>cur<?php endif; ?>"><a href="<?php echo U('Wechat/auth');?>">微信授权配置</a></li>
					<li class="<?php if((ACTION_NAME) == "pay"): ?>cur<?php endif; ?>"><a href="<?php echo U('Wechat/pay');?>">运费&支付管理</a></li>
				</ul>
			</div>

		
		

			
	<div id="token" class="r_con_wrap">
    	<div class="tips_info">你已成功绑定微信公众平台，绑定信息：</div>
        <div class="r_con_form">
            <div class="rows">
                <label>帐号名称:</label>
                <span class="input"><span class="tips"><?php echo ($weixin["weixin"]); ?></span></span>
                <div class="clear"></div>
            </div>
            <div class="rows">
                <label>接口URL:</label>
                <span class="input"><span class="tips"><?php echo ($api_url); ?></span></span>
                <div class="clear"></div>
            </div>
            <div class="rows">
                <label>接口Token:</label>
                <span class="input"><span class="tips"><?php echo ($userinfo["token"]); ?></span></span>
                <div class="clear"></div>
            </div>
            <div class="rows">
                <label></label>
                <span class="input"><a href="<?php echo U('Wechat/delWeixin');?>" class="btn_green"  onclick="if(!confirm('确定要解除绑定，继续吗？')){return false};">解除绑定</a></span>
                <div class="clear"></div>
            </div>
        </div>
    </div>  

			
			</div>
			</div>
</body>
</html>